const plus = {
  state: {
    receiveNotification: false
  },
  getters: {
    receiveNotification: state => state.receiveNotification
  },
  mutations: {
    SET_RECEIVE: (state, receiveNotification) => {
      state.receiveNotification = receiveNotification
    }
  },
  actions: {
    setReceive ({commit}, receiveNotification) {
      commit('SET_RECEIVE', receiveNotification)
    }
  }
}

export default plus
